projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28636af
)
(outline-up-heading): Avoid infinite loop at beginning of buffer.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 20 Sep 1997 00:32:30 +0000
(
00:32
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 20 Sep 1997 00:32:30 +0000
(
00:32
+0000)
lisp/textmodes/outline.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/outline.el
b/lisp/textmodes/outline.el
index f12518c4051fd4f3c7323bb842c4c63fe78f7617..f9717798b3da148b095b32fb4af0356b1c8e4130 100644
(file)
--- a/
lisp/textmodes/outline.el
+++ b/
lisp/textmodes/outline.el
@@
-620,7
+620,8
@@
With argument, move up ARG levels."
(> arg 0)
(not (bobp)))
(let ((present-level (funcall outline-level)))
- (while (not (< (funcall outline-level) present-level))
+ (while (and (not (< (funcall outline-level) present-level))
+ (not (bobp)))
(outline-previous-visible-heading 1))
(setq arg (- arg 1)))))